<?php
/**
 * TOP API: taobao.wlb.item.consignment.delete request
 * 
 * @author auto create
 * @since 1.0, 2012-04-17 12:36:56
 */
class WlbItemConsignmentDeleteRequest
{
    /** 
     * 代销商前台宝贝ID
     **/
    private $icItemId;
    
    /** 
     * 货主的物流宝商品ID
     **/
    private $ownerItemId;
    
    /** 
     * 授权关系id
     **/
    private $ruleId;
    
    private $apiParas = array();
    
    public function setIcItemId($icItemId)
    {
        $this->icItemId = $icItemId;
        $this->apiParas["ic_item_id"] = $icItemId;
    }

    public function getIcItemId()
    {
        return $this->icItemId;
    }

    public function setOwnerItemId($ownerItemId)
    {
        $this->ownerItemId = $ownerItemId;
        $this->apiParas["owner_item_id"] = $ownerItemId;
    }

    public function getOwnerItemId()
    {
        return $this->ownerItemId;
    }

    public function setRuleId($ruleId)
    {
        $this->ruleId = $ruleId;
        $this->apiParas["rule_id"] = $ruleId;
    }

    public function getRuleId()
    {
        return $this->ruleId;
    }

    public function getApiMethodName()
    {
        return "taobao.wlb.item.consignment.delete";
    }
    
    public function getApiParas()
    {
        return $this->apiParas;
    }
    
    public function check()
    {
        
        RequestCheckUtil::checkNotNull($this->icItemId,"icItemId");
        RequestCheckUtil::checkNotNull($this->ownerItemId,"ownerItemId");
        RequestCheckUtil::checkNotNull($this->ruleId,"ruleId");
    }
}
